<?php
/*
***专享版
*/
defined('BY_JYA') or exit('Access Denied');
global $_RQ,$_AR;
$_RQ['op']=$_RQ['op']?$_RQ['op']:'main';
$return['basic']=$this->plugin_setting('basic');
$return['ischecklogin']=cfc('core')->checklogin('','',true);
$this->model('member')->upmember();
if($_RQ['op']=='main'){
	set_html('title','测试');
    $member=pdo_get('core_members',array('id'=>$_SESSION['uid'],'uniacid'=>$_SESSION['uniacid']),array('id','credit1','credit2','credit3','credit5','mobile','groupid','avatar','nickname'));
	if(!$member){
		//exi('找不到会员信息！','error');
	}
	$this->model('model')->checklogin();	
	$user=pdo_get('jy_aixiaoyi_member',array('mid'=>$_SESSION['uid'],'uniacid'=>$_SESSION['uniacid']));
	$member['avatar']=tomedia($member['avatar']);
	$return['member']=$member;
    //var_dump($this->model('model')->getmsg('写一篇小学题材的语文作文')); //此处有接口调用
    
	exi($return);
}
